windows build fix
authorJoey Hess <joeyh@joeyh.name>
Wed, 29 Jan 2025 18:59:00 +0000 (14:59 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 29 Jan 2025 18:59:00 +0000 (14:59 -0400)
Utility/OsPath.hs

index c2388ed940d73d34a2f2d1fe57273aee25e4580a..d008a9a373befaf7efb23b905430a8a3e196c9f2 100644 (file)
@@ -98,7 +98,7 @@ getSearchPath = map toOsPath <$> PB.getSearchPath
 
 {- Used for string constants. -}
 literalOsPath :: ShortByteString -> OsPath
-literalOsPath = bytesToOsPath
+literalOsPath = toOsPath
 
 #else
 {- When not building with WITH_OSPATH, use RawFilePath.